import React from 'react';
import { View, Text } from 'react-native'
import { globalStyles } from '../styles/global';
import  Card  from '../shared/card';

export default function ReviewDetail({ navigation }) {
    return (
        <View style={globalStyles.container}>
            <Card>
                <Text>{navigation.getParam('title')}</Text>
                <Text>{navigation.getParam('body')}</Text>
                <Text>{navigation.getParam('rating')}</Text>
            </Card>
        </View>
    )
}
